import React from 'react'
// react-router-dom 包直接引入会提示警告, 没有包的类型声明文件, 需要下载
// npm i @/types/react-router-dom

// import { Switch, Route, Redirect } from 'react-router-dom';
// import Home from './Home'
// import Detail from './Detail'
type Props = {}

export default function Father({ }: Props) {
    return (
        <></>
        // <Switch>
        //     <Route path='/home' component={Home}></Route>
        //     <Route path='/detail/:id' component={Detail}></Route>
        //     <Redirect from='/' to='/home'></Redirect>
        // </Switch>
    )
}